﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ignitron.EEngine;

namespace OpenTKLightingTool.Data
{
    /// <summary>
    /// The dictionary of materials
    /// </summary>
    internal class MaterialDictionary: Dictionary<string, Material>
    {
        public void New(string name)
        {
            this[name] = new Material();
        }

        public void Render(string name, IEngine engine)
        {
            this[name].Render(engine);
        }
    }
}
